using Guadagno.Utilities.Configuration;

namespace TaskServiceHarness
{
    /// <summary>
    /// The configuration class for the TaskServerHarness
    /// </summary>
    public class TaskServiceHarnessConfig: ConfigurationBase
    {
        #region Constructors

        /// <summary>
        /// Initializes a new instance of the <see cref="TaskServiceHarnessConfig"/> class.
        /// </summary>
        public TaskServiceHarnessConfig() { }
        /// <summary>
        /// Initializes a new instance of the <see cref="TaskServiceHarnessConfig"/> class.
        /// </summary>
        /// <param name="stage">The stage.</param>
        public TaskServiceHarnessConfig(string stage) : base(stage) { }
        /// <summary>
        /// Initializes a new instance of the <see cref="TaskServiceHarnessConfig"/> class.
        /// </summary>
        /// <param name="stage">The stage.</param>
        /// <param name="filename">The filename.</param>
        public TaskServiceHarnessConfig(string stage, string filename) : base(stage, filename) { }
        
        #endregion Constructors

        #region Public Properties from XML

        /// <summary>
        /// Gets the log4net config.
        /// </summary>
        /// <value>The log4 net config.</value>
        public string Log4NetConfig { get { return this["log4net"]; } }
        /// <summary>
        /// Gets the plugin path.
        /// </summary>
        /// <value>The plugin path.</value>
        public string PluginPath { get { return this["PluginPath"]; } }

        #endregion Public Properties from XML

    }
}
